package cn.btks.commonserver.result;

import java.io.Serializable;

/**
 * Created by zhangjing on 2019/12/13.
 */
public class ResultState<T> implements Serializable {

    /**
     * 状态码
     */
    private String status;

    /**
     * 提示信息
     */
    private String message;

    /**
     * 返回对象
     */
    private T data;


    public ResultState() {
    }

    public ResultState(String status, String message, T data) {
        this.status = status;
        this.message = message;
        this.data = data;
    }

    public ResultState(String status, String message) {
        this.status = status;
        this.message = message;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

}
